package com.music.service.urls.dao;

import java.util.List;
import java.util.Map;

import com.music.service.urls.beans.Url;

public interface UrlDAO {
	/**
	 * Get all the urls for given songId.
	 * @param pSongId
	 * @return List<Url>
	 */
	public List<Url> getUrlsOfSong(final Long pSongId);
	
	public boolean addNewUrlToSong(final Long pMemberId, final Long pSongId,final String pUrlPath) ;
	
	/**
	 * Get the list of Urls for given list of SongIds.
	 * Note: Fetch One url for given songId for given member.
	 * @param pSongIds
	 * @return Map<Long,Url> . map of song id with corresponding url object.
	 */
	public Map<Long,Url> getUrlsForSongsForMember(final Long pMemberId,final Long... pSongIds);
}
